package cn.doit.day03

object _07_可迭代的 {
  def main(args: Array[String]): Unit = {
    val iterable: ScalaIterable = new ScalaIterable


  }

}

class ScalaIterable extends Iterable[ScalaHero]{
  override def iterator: Iterator[ScalaHero] = new HeroIterator
}

